<?php

/**

 */

$stylelink = '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />';
$stylelink .= '<script type="text/javascript" src="./components/com_community/templates/stillhere/js/jquery-1.6.2.min.js"></script>' ."\n";
$stylelink .= '<!--[if IE]>' ."\n";
$stylelink .= '<link rel="stylesheet" href="./components/com_community/templates/stillhere/css/iestill.css" type="text/css" media="screen">' ."\n";
$stylelink .= '<![endif]-->' ."\n";
$stylelink .= '<!--[if !IE]>-->' ."\n";


$stylelink .= '<link rel="stylesheet" href="./components/com_community/templates/stillhere/css/still.css" type="text/css" media="screen">' ."\n";
$stylelink .= '<!--<![endif]-->' ."\n";



 
$document = JFactory::getDocument();
$document->addCustomTag($stylelink);

$modal_h="hola";
$modal_b=" sds ssd sds sd sd sd sd s ds ds d sd sd s ds d sd s ds ds d sd sd s ds d sd s ds ds d sd s ds d sd sd s ds d sd sd s ds d sd s ds ds d sd sd s ds ds d";

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>







<title>Still Here</title>



<script type="text/javascript">
 function validarPasswd () {
   
  var p1 = document.getElementById("username").value;
  var p2 = document.getElementById("password").value;
  var espacios = false;
  var cont = 0;

  // Este bucle recorre la cadena para comprobar
  // que no todo son espacios
        while (!espacios && (cont < p1.length)) {
                if (p1.charAt(cont) == " ")
                        espacios = true;
                cont++;
        }
   
  if (espacios) {
   alert ("<?php echo JText::_('COM_COMMUNITY_MAIN_NO_USERNAME_PASS_MSG'); ?>");
   return false;
  }
   
  if (p1.length == 0 || p2.length == 0) {
   alert("<?php echo JText::_('COM_COMMUNITY_MAIN_NO_USERNAME_PASS_MSG'); ?>");
   return false;
  }
   
   else {
   
   return true;
  }
 }
</script>





<link rel="stylesheet" href="css/still.css" type="text/css" media="screen">




<style type="text/css">
<!--
body {
	background-color: #fff;
}

.html, body {
	font-family:Verdana, Geneva, sans-serif;
	font-size:12px;
}

.inicio {
	width:600px;
	height:100%;
	padding:0px;
	margin:0px auto 0px auto;
}

a:link {
	color: #FFFFFF;
	text-decoration: none;
}
a:visited {
	color: #AAAAAA;
	text-decoration: none;
}
a:hover {
	color: #CCCCCC;
	text-decoration: none;
}
a:active {
	color: #666666;
	text-decoration: none;
-->
</style>
<body>

<div id="fondo_top"></div>

<div class="centrardiv">

<div id="Marco" >

			<div id= "Uno">
	
						<div style="display:none" id="modal_sh">
							<div id="close_sh" onclick='$("#modal_sh").toggle(200);' title="<?php echo JText::_('COM_COMMUNITY_MODAL_CLOSE'); ?>"></div>
							<div id="modal_h"><?php echo JText::_('COM_COMMUNITY_MODAL_AVDERTISING_HEADER'); ?></div>
							<div id="modal_b"><?php echo JText::_('COM_COMMUNITY_MODAL_AVDERTISING_BODY'); ?></div>
							<a href="<?php echo JText::_('COM_COMMUNITY_MODAL_AVDERTISING_PDF'); ?>"><div style="position:absolute;bottom:20px;right:22px;"class="pdf_btn" title="<?php echo JText::_('COM_COMMUNITY_MODAL_PDF_ALT'); ?>"></div></a>
						</div>
						<div style="display:none" id="modal_sh_p">
							<div id="close_sh" onclick='$("#modal_sh_p").toggle(200);' title="<?php echo JText::_('COM_COMMUNITY_MODAL_CLOSE'); ?>"></div>
							<div id="modal_h"><?php echo JText::_('COM_COMMUNITY_MODAL_PRIVACY_HEADER'); ?></div>
							<div id="modal_b"><?php echo JText::_('COM_COMMUNITY_MODAL_PRIVACY_BODY'); ?></div>
							<a href="<?php echo JText::_('COM_COMMUNITY_MODAL_PRIVACY_PDF'); ?>"><div style="position:absolute;bottom:20px;right:22px;"class="pdf_btn" title="<?php echo JText::_('COM_COMMUNITY_MODAL_PDF_ALT'); ?>"></div></a>
						</div>
					
					<div style="display:none" id="modal_sh_t">
							<div id="close_sh" onclick='$("#modal_sh_t").toggle(200);' title="<?php echo JText::_('COM_COMMUNITY_MODAL_CLOSE'); ?>"></div>
							<div id="modal_h"><?php echo JText::_('COM_COMMUNITY_MODAL_TERMS_HEADER'); ?></div>
							<div id="modal_b"><?php echo JText::_('COM_COMMUNITY_MODAL_TERMS_BODY'); ?></div>
							<a href="<?php echo JText::_('COM_COMMUNITY_MODAL_TERMS_PDF'); ?>"><div style="position:absolute;bottom:20px;right:22px;"class="pdf_btn" title="<?php echo JText::_('COM_COMMUNITY_MODAL_PDF_ALT'); ?>"></div></a>
						</div>
					
					<div style="display:none" id="modal_sh_h">
							<div id="close_sh" onclick='$("#modal_sh_h").toggle(200);' title="<?php echo JText::_('COM_COMMUNITY_MODAL_CLOSE'); ?>"></div>
							<div id="modal_h"><?php echo JText::_('COM_COMMUNITY_MODAL_HELP_HEADER'); ?></div>
							<div id="modal_b"><?php echo JText::_('COM_COMMUNITY_MODAL_HELP_BODY'); ?></div>
							<a href="<?php echo JText::_('COM_COMMUNITY_MODAL_HELP_PDF'); ?>"><div style="position:absolute;bottom:20px;right:22px;"class="pdf_btn" title="<?php echo JText::_('COM_COMMUNITY_MODAL_PDF_ALT'); ?>"></div></a>
						</div>
					
					
						<div id="iepos_3"><z1 id="texto1"><span class="size3">STILLHERE </span> <span class="naranja"><z2>BETA</z2></span>
						<?php if ($usersConfig->get('allowUserRegistration')) : ?>
					
						</z1></div>
							<!--
						<div id="iepos_2"><z1 id="right_txt"><span class="size1"><a href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' , false ); ?>" >
			
			
						<?php echo JText::_('COM_COMMUNITY_MAIN_JOINUS'); ?></a> <?php endif; ?></span> </z1> </div>-->
						
						<div id="trademarkstillhere4"  class="right_EN">
							<a href="<?php echo CRoute::_( 'index.php?option=com_community&view=frontpage&lang=en' );?>"  title="English"><span class="langfilter">EN</span></a>
						</div>
						<div id="trademarkstillhere2" class="right_ES">
							<a href="<?php echo CRoute::_( 'index.php?option=com_community&view=frontpage&lang=es' );?>"  title="Espa&ntilde;ol"><span class="langfilter">ES</span></a>
						</div>
						
						
  	</div>

	<div id="Dos">
    
    		<div id="Dosdos">
				
				<div id="Sombra1"></div>
					
					<div id="iepos"><span class="blanco"><z1 id="centertxt"><span class="size1"><?php echo JText::_('COM_COMMUNITY_MAIN_BECAUSE'); ?><span class="rojo"><?php echo JText::_('COM_COMMUNITY_MAIN_YOU'); ?></span><?php echo JText::_('COM_COMMUNITY_MAIN_MEMORIES'); ?></span> </z1> </style></span></div>
				
				</div>
            
            <div id="Dostres">
			
				<div id="Sombra1"></div><!--
			<img id="img_still_pos" src="./components/com_community/templates/stillhere/images/siluetas.png" />--></div>
	</div>


	<div id="Tres">
    		
		
    
			<div id="tres_uno">
				<div id="Sombra7"></div>
				<div id="Sombra6"></div>
				
				<div id="rojo_izquierda"></div>
				<div id="Sombra5"></div>
				
				<div id="cuadro_negro">
							<div id="mail">
									
													<div align="center">
																<div id="mailheadtxt">
																			<span class="blanco"><z6><?php echo JText::_('COM_COMMUNITY_MAIN_WELCOME'); ?></z6></style</span>
																</div>
													</div>       
										
																						
																					
										<div id="mailtext">
													<div align="right">
																<z5><?php echo JText::_('COM_COMMUNITY_MAIN_USER');echo ":"; ?></z5>
													</div>
																								
													<div id="mailtxt2">	
																<div align="right">
																			<z5><?php echo JText::_('COM_COMMUNITY_MAIN_PASS');echo ":"; ?></z5>
																</div>
													</div>
										</div>
																			
										<div id="mailinput">
																			 
																			  
												<form action="<?php echo CRoute::getURI();?>" method="post" name="login" id="form-login" onSubmit="return validarPasswd()">
														<input type="text" class="inputbox frontlogin" name="username" id="username" style="width:90%"/>
														<br />
														<br />
														<input type="password" class="inputbox frontlogin" name="<?php echo COM_USER_PASSWORD_INPUT;?>" id="password" style="width:90%"/>
																				
														<?php if(JPluginHelper::isEnabled('system', 'remember')) : ?>
														<label for="remember">
															<input type="checkbox" alt="<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>" value="yes" id="remember" name="remember"/>
															<span class="blanco"><?php echo JText::_('COM_COMMUNITY_MAIN_REMEMBER_MY_DETAILS'); ?></span>														</label>
																					<?php endif; ?>

														<div style="text-align: center; padding: 10px 0 5px;">
														<br>
														<input type="submit" value="<?php echo JText::_('COM_COMMUNITY_MAIN_LOGIN_BUTTON');?>" name="submit" id="submit" class="boton_still" />
														<input type="hidden" name="option" value="<?php echo COM_USER_NAME;?>" />
														<input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN;?>" />
														<input type="hidden" name="return" value="<?php echo $return; ?>" />
																					<?php echo JHTML::_( 'form.token' ); ?>								</div>
																<br>					
														<span>
															<a href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=reset' ); ?>" class="login-forgot-password"><span><?php echo JText::_('COM_COMMUNITY_MAIN_PASSWORD_FORGOT'). ' '. JText::_('COM_COMMUNITY_MAIN_PASS').'?'; ?></span></a><br />
														</span>
																													
																				<?php echo $fbHtml;?>
												</form>								
										</div>
							</div>
				</div>	
						<div id="Sombra4"></div>
			</div>  
								
							  
								<div id="tres_dos">
									<div id="Sombra3"></div>
										<div id="rojo_derecha">
													<div id= "parrafo_uno">
															<div  id="parrafo_h1">
																			<div id="txthead"> <span class="naranja"><z2><?php echo JText::_('COM_COMMUNITY_MAIN_BIOSPIRAL'); ?><span class="blanco"><?php echo JText::_('COM_COMMUNITY_MAIN_BIOSPIRAL_2'); ?></span></z2></span> </div>
															</div>
															<div id="parrafo_t1">
																	<div align="justify">
																			<z3><?php echo JText::_('COM_COMMUNITY_MAIN_BIOSPIRAL_BODY'); ?></z3>
																	</div>
															</div>
															
															<div  id="parrafo_h2">
																					<div id="txthead">		
																							<span class="naranja"><z2><?php echo JText::_('COM_COMMUNITY_MAIN_GATHER'); ?><span class="blanco"><?php echo JText::_('COM_COMMUNITY_MAIN_GATHER_2'); ?></span></z2></span>
																					</div>
																			</div>
																			<div id="parrafo_t2">
																					<div align="justify">
																						<z3><?php echo JText::_('COM_COMMUNITY_MAIN_GATHER_BODY'); ?></z3>
																					</div>
																			</div>
													</div>
													
													
													
													<div id= "parrafo_dos">
													
																			<div  id="parrafo_h3">
																			
																					<div id="txthead">
																							<span class="naranja"><z2><?php echo JText::_('COM_COMMUNITY_MAIN_SAVE'); ?><span class="blanco"> <?php echo JText::_('COM_COMMUNITY_MAIN_SAVE_2'); ?></span></z2></span>
																					 </div>
																			</div>
																			<div id="parrafo_t3">
																			
																				<div align="justify">
																					<z3><?php echo JText::_('COM_COMMUNITY_MAIN_SAVE_BODY'); ?></z3>
																				</div>
																			</div>
																			
																			<div  id="parrafo_h2">
																					<div id="txthead">		
																							<span class="naranja"><z2><?php echo JText::_('COM_COMMUNITY_MAIN_SHARE'); ?><span class="blanco"><?php echo JText::_('COM_COMMUNITY_MAIN_SHARE_2'); ?></span></z2></span>
																					</div>
																			</div>
																			<div id="parrafo_t2">
																					<div align="justify">
																						<z3><?php echo JText::_('COM_COMMUNITY_MAIN_SHARE_BODY'); ?></z3>
																					</div>
																			</div>
													</div>
													
													<div  id="parrafo_h4">
																<div align="center">
																						
																							
																										
																										<?php if ($usersConfig->get('allowUserRegistration')) : ?>
																											
																											<form><input type=button  class="boton_still_n" onClick="location.href='<?php echo CRoute::_( 'index.php?option=com_community&view=register' , false ); ?>'" value='<?php echo JText::_('COM_COMMUNITY_MAIN_JOINUS'); ?>' onmouseover="this.src='/images/gris.jpg'" onmouseout="this.src='/images/blanco.jpg'" ></form>
																											
																											
																										
																											<?php endif; ?>
																											
																</div>
													</div>
										</div>
										
								</div>   
	</div>

			<div id="Cuatro">
				
									<div id="bottom_left"> 
											<div id="cuadro_bottom">
														<div id="ligas">
															<z6 ><a  span class="ligas_sh" onclick='$("#modal_sh").toggle(200);'><?php echo JText::_('COM_COMMUNITY_MAIN_ADVERT'); ?></a></z6> <z6>|</z6> <z6> <a span class="ligas_sh" onclick='$("#modal_sh_p").toggle(200);'><?php echo JText::_('COM_COMMUNITY_MAIN_PRI'); ?></a></z6><z6> |</z6><z6> <a span class="ligas_sh"onclick='$("#modal_sh_t").toggle(200);'><?php echo JText::_('COM_COMMUNITY_MAIN_TERM'); ?></a></z6><z6> |</z6><z6><a span class="ligas_sh" onclick='$("#modal_sh_h").toggle(200);'> <?php echo JText::_('COM_COMMUNITY_MAIN_HELP'); ?></a></z6>
														 </div>
											</div>
											<div id="Sombra2"></div>
									</div>
									
									<div id="bottom_right"> 
											
											<div id="cuadro_bottom">
									
												<div id="bottomr2">
															<z6><?php echo JText::_('COM_COMMUNITY_SLOGAN'); ?></z6>
												</div>
											</div>
											<img id="img_still_pos" src="./components/com_community/templates/stillhere/images/stilllogo_fp.png" />									
										<div id="Sombra2"></div>
									</div>
									
									
									<div id = "Cinco">    </div>        
								  
									<div id = "Seis"><div id="derech"><z5><span class="size4">Copyright © 2011. All rights reserved. <a href="http://www.stillhere.me">Stillhere</a></span></z5>
									</div></div>
			</div>
</div>
 
  


</body>
</html>
